import service from "@/api/index";
/**订单 */
const PaymentOrderInfo_API = "/api/PaymentOrderInfo/";

export default {
	GetPaymentOrderInfoList: (params: object) => {
		//获取订单列表
		return service.post(`${PaymentOrderInfo_API}GetPaymentOrderInfoList`, params);
	},
	GetCompetitionsList: () => {
		return service.get(`${PaymentOrderInfo_API}GetCompetitionsList`);
	},
	GetCompanysList: () => {
		return service.get(`${PaymentOrderInfo_API}GetCompanysList`);
	},
	GetByPaymentOrderInfoDetailsId: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}GetByPaymentOrderInfoDetailsId`, Id);
	},
	GetPaymentOderInfoTitleById: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}GetPaymentOderInfoTitleById`, Id);
	},
	AddOrderNotes: (from: object) => {
		return service.post(`${PaymentOrderInfo_API}AddOrderNotes`, from);
	},
	GetPriceInfo: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}GetPriceInfo`, Id);
	},
	GetCommitEmployee: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}GetCommitEmployee`, Id);
	},
	GetRegistrationInfo: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}GetRegistrationInfo`, Id);
	},
	GetOrderInfoList: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}GetOrderInfoList`, Id);
	},
	ExportActionInfo: (Id: object) => {
		return service.post(`${PaymentOrderInfo_API}ExportActionInfo`, Id);
	}
};
